#ifndef _H_LABEL
#define _H_LABEL

#include <string>
#include "winElmt.h"
#include "textDisplay.h"

using namespace std;

class label: public winElmt{

    protected:
        textDisplay caption;

    public:
        label();
        label(window*);
        virtual ~label();

        void setCaption(string);
        string getCaption();

        void setFont(font*);

        virtual void display();
        virtual unsigned char eventExec(unsigned char);

};

#endif
